package com.aistar.pojo;

import java.util.ArrayList;
import java.util.List;

public class ChoiceExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ChoiceExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andChoiceIdIsNull() {
            addCriterion("choice_id is null");
            return (Criteria) this;
        }

        public Criteria andChoiceIdIsNotNull() {
            addCriterion("choice_id is not null");
            return (Criteria) this;
        }

        public Criteria andChoiceIdEqualTo(Integer value) {
            addCriterion("choice_id =", value, "choiceId");
            return (Criteria) this;
        }

        public Criteria andChoiceIdNotEqualTo(Integer value) {
            addCriterion("choice_id <>", value, "choiceId");
            return (Criteria) this;
        }

        public Criteria andChoiceIdGreaterThan(Integer value) {
            addCriterion("choice_id >", value, "choiceId");
            return (Criteria) this;
        }

        public Criteria andChoiceIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("choice_id >=", value, "choiceId");
            return (Criteria) this;
        }

        public Criteria andChoiceIdLessThan(Integer value) {
            addCriterion("choice_id <", value, "choiceId");
            return (Criteria) this;
        }

        public Criteria andChoiceIdLessThanOrEqualTo(Integer value) {
            addCriterion("choice_id <=", value, "choiceId");
            return (Criteria) this;
        }

        public Criteria andChoiceIdIn(List<Integer> values) {
            addCriterion("choice_id in", values, "choiceId");
            return (Criteria) this;
        }

        public Criteria andChoiceIdNotIn(List<Integer> values) {
            addCriterion("choice_id not in", values, "choiceId");
            return (Criteria) this;
        }

        public Criteria andChoiceIdBetween(Integer value1, Integer value2) {
            addCriterion("choice_id between", value1, value2, "choiceId");
            return (Criteria) this;
        }

        public Criteria andChoiceIdNotBetween(Integer value1, Integer value2) {
            addCriterion("choice_id not between", value1, value2, "choiceId");
            return (Criteria) this;
        }

        public Criteria andChoiceDifficultDegreeIsNull() {
            addCriterion("choice_difficult_degree is null");
            return (Criteria) this;
        }

        public Criteria andChoiceDifficultDegreeIsNotNull() {
            addCriterion("choice_difficult_degree is not null");
            return (Criteria) this;
        }

        public Criteria andChoiceDifficultDegreeEqualTo(Integer value) {
            addCriterion("choice_difficult_degree =", value, "choiceDifficultDegree");
            return (Criteria) this;
        }

        public Criteria andChoiceDifficultDegreeNotEqualTo(Integer value) {
            addCriterion("choice_difficult_degree <>", value, "choiceDifficultDegree");
            return (Criteria) this;
        }

        public Criteria andChoiceDifficultDegreeGreaterThan(Integer value) {
            addCriterion("choice_difficult_degree >", value, "choiceDifficultDegree");
            return (Criteria) this;
        }

        public Criteria andChoiceDifficultDegreeGreaterThanOrEqualTo(Integer value) {
            addCriterion("choice_difficult_degree >=", value, "choiceDifficultDegree");
            return (Criteria) this;
        }

        public Criteria andChoiceDifficultDegreeLessThan(Integer value) {
            addCriterion("choice_difficult_degree <", value, "choiceDifficultDegree");
            return (Criteria) this;
        }

        public Criteria andChoiceDifficultDegreeLessThanOrEqualTo(Integer value) {
            addCriterion("choice_difficult_degree <=", value, "choiceDifficultDegree");
            return (Criteria) this;
        }

        public Criteria andChoiceDifficultDegreeIn(List<Integer> values) {
            addCriterion("choice_difficult_degree in", values, "choiceDifficultDegree");
            return (Criteria) this;
        }

        public Criteria andChoiceDifficultDegreeNotIn(List<Integer> values) {
            addCriterion("choice_difficult_degree not in", values, "choiceDifficultDegree");
            return (Criteria) this;
        }

        public Criteria andChoiceDifficultDegreeBetween(Integer value1, Integer value2) {
            addCriterion("choice_difficult_degree between", value1, value2, "choiceDifficultDegree");
            return (Criteria) this;
        }

        public Criteria andChoiceDifficultDegreeNotBetween(Integer value1, Integer value2) {
            addCriterion("choice_difficult_degree not between", value1, value2, "choiceDifficultDegree");
            return (Criteria) this;
        }

        public Criteria andChoiceLanguageIsNull() {
            addCriterion("choice_language is null");
            return (Criteria) this;
        }

        public Criteria andChoiceLanguageIsNotNull() {
            addCriterion("choice_language is not null");
            return (Criteria) this;
        }

        public Criteria andChoiceLanguageEqualTo(String value) {
            addCriterion("choice_language =", value, "choiceLanguage");
            return (Criteria) this;
        }

        public Criteria andChoiceLanguageNotEqualTo(String value) {
            addCriterion("choice_language <>", value, "choiceLanguage");
            return (Criteria) this;
        }

        public Criteria andChoiceLanguageGreaterThan(String value) {
            addCriterion("choice_language >", value, "choiceLanguage");
            return (Criteria) this;
        }

        public Criteria andChoiceLanguageGreaterThanOrEqualTo(String value) {
            addCriterion("choice_language >=", value, "choiceLanguage");
            return (Criteria) this;
        }

        public Criteria andChoiceLanguageLessThan(String value) {
            addCriterion("choice_language <", value, "choiceLanguage");
            return (Criteria) this;
        }

        public Criteria andChoiceLanguageLessThanOrEqualTo(String value) {
            addCriterion("choice_language <=", value, "choiceLanguage");
            return (Criteria) this;
        }

        public Criteria andChoiceLanguageLike(String value) {
            addCriterion("choice_language like", value, "choiceLanguage");
            return (Criteria) this;
        }

        public Criteria andChoiceLanguageNotLike(String value) {
            addCriterion("choice_language not like", value, "choiceLanguage");
            return (Criteria) this;
        }

        public Criteria andChoiceLanguageIn(List<String> values) {
            addCriterion("choice_language in", values, "choiceLanguage");
            return (Criteria) this;
        }

        public Criteria andChoiceLanguageNotIn(List<String> values) {
            addCriterion("choice_language not in", values, "choiceLanguage");
            return (Criteria) this;
        }

        public Criteria andChoiceLanguageBetween(String value1, String value2) {
            addCriterion("choice_language between", value1, value2, "choiceLanguage");
            return (Criteria) this;
        }

        public Criteria andChoiceLanguageNotBetween(String value1, String value2) {
            addCriterion("choice_language not between", value1, value2, "choiceLanguage");
            return (Criteria) this;
        }

        public Criteria andChoiceTypeIsNull() {
            addCriterion("choice_type is null");
            return (Criteria) this;
        }

        public Criteria andChoiceTypeIsNotNull() {
            addCriterion("choice_type is not null");
            return (Criteria) this;
        }

        public Criteria andChoiceTypeEqualTo(Integer value) {
            addCriterion("choice_type =", value, "choiceType");
            return (Criteria) this;
        }

        public Criteria andChoiceTypeNotEqualTo(Integer value) {
            addCriterion("choice_type <>", value, "choiceType");
            return (Criteria) this;
        }

        public Criteria andChoiceTypeGreaterThan(Integer value) {
            addCriterion("choice_type >", value, "choiceType");
            return (Criteria) this;
        }

        public Criteria andChoiceTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("choice_type >=", value, "choiceType");
            return (Criteria) this;
        }

        public Criteria andChoiceTypeLessThan(Integer value) {
            addCriterion("choice_type <", value, "choiceType");
            return (Criteria) this;
        }

        public Criteria andChoiceTypeLessThanOrEqualTo(Integer value) {
            addCriterion("choice_type <=", value, "choiceType");
            return (Criteria) this;
        }

        public Criteria andChoiceTypeIn(List<Integer> values) {
            addCriterion("choice_type in", values, "choiceType");
            return (Criteria) this;
        }

        public Criteria andChoiceTypeNotIn(List<Integer> values) {
            addCriterion("choice_type not in", values, "choiceType");
            return (Criteria) this;
        }

        public Criteria andChoiceTypeBetween(Integer value1, Integer value2) {
            addCriterion("choice_type between", value1, value2, "choiceType");
            return (Criteria) this;
        }

        public Criteria andChoiceTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("choice_type not between", value1, value2, "choiceType");
            return (Criteria) this;
        }

        public Criteria andChoiceKeywordsIsNull() {
            addCriterion("choice_keywords is null");
            return (Criteria) this;
        }

        public Criteria andChoiceKeywordsIsNotNull() {
            addCriterion("choice_keywords is not null");
            return (Criteria) this;
        }

        public Criteria andChoiceKeywordsEqualTo(String value) {
            addCriterion("choice_keywords =", value, "choiceKeywords");
            return (Criteria) this;
        }

        public Criteria andChoiceKeywordsNotEqualTo(String value) {
            addCriterion("choice_keywords <>", value, "choiceKeywords");
            return (Criteria) this;
        }

        public Criteria andChoiceKeywordsGreaterThan(String value) {
            addCriterion("choice_keywords >", value, "choiceKeywords");
            return (Criteria) this;
        }

        public Criteria andChoiceKeywordsGreaterThanOrEqualTo(String value) {
            addCriterion("choice_keywords >=", value, "choiceKeywords");
            return (Criteria) this;
        }

        public Criteria andChoiceKeywordsLessThan(String value) {
            addCriterion("choice_keywords <", value, "choiceKeywords");
            return (Criteria) this;
        }

        public Criteria andChoiceKeywordsLessThanOrEqualTo(String value) {
            addCriterion("choice_keywords <=", value, "choiceKeywords");
            return (Criteria) this;
        }

        public Criteria andChoiceKeywordsLike(String value) {
            addCriterion("choice_keywords like", value, "choiceKeywords");
            return (Criteria) this;
        }

        public Criteria andChoiceKeywordsNotLike(String value) {
            addCriterion("choice_keywords not like", value, "choiceKeywords");
            return (Criteria) this;
        }

        public Criteria andChoiceKeywordsIn(List<String> values) {
            addCriterion("choice_keywords in", values, "choiceKeywords");
            return (Criteria) this;
        }

        public Criteria andChoiceKeywordsNotIn(List<String> values) {
            addCriterion("choice_keywords not in", values, "choiceKeywords");
            return (Criteria) this;
        }

        public Criteria andChoiceKeywordsBetween(String value1, String value2) {
            addCriterion("choice_keywords between", value1, value2, "choiceKeywords");
            return (Criteria) this;
        }

        public Criteria andChoiceKeywordsNotBetween(String value1, String value2) {
            addCriterion("choice_keywords not between", value1, value2, "choiceKeywords");
            return (Criteria) this;
        }

        public Criteria andChoiceNameIsNull() {
            addCriterion("choice_name is null");
            return (Criteria) this;
        }

        public Criteria andChoiceNameIsNotNull() {
            addCriterion("choice_name is not null");
            return (Criteria) this;
        }

        public Criteria andChoiceNameEqualTo(String value) {
            addCriterion("choice_name =", value, "choiceName");
            return (Criteria) this;
        }

        public Criteria andChoiceNameNotEqualTo(String value) {
            addCriterion("choice_name <>", value, "choiceName");
            return (Criteria) this;
        }

        public Criteria andChoiceNameGreaterThan(String value) {
            addCriterion("choice_name >", value, "choiceName");
            return (Criteria) this;
        }

        public Criteria andChoiceNameGreaterThanOrEqualTo(String value) {
            addCriterion("choice_name >=", value, "choiceName");
            return (Criteria) this;
        }

        public Criteria andChoiceNameLessThan(String value) {
            addCriterion("choice_name <", value, "choiceName");
            return (Criteria) this;
        }

        public Criteria andChoiceNameLessThanOrEqualTo(String value) {
            addCriterion("choice_name <=", value, "choiceName");
            return (Criteria) this;
        }

        public Criteria andChoiceNameLike(String value) {
            addCriterion("choice_name like", value, "choiceName");
            return (Criteria) this;
        }

        public Criteria andChoiceNameNotLike(String value) {
            addCriterion("choice_name not like", value, "choiceName");
            return (Criteria) this;
        }

        public Criteria andChoiceNameIn(List<String> values) {
            addCriterion("choice_name in", values, "choiceName");
            return (Criteria) this;
        }

        public Criteria andChoiceNameNotIn(List<String> values) {
            addCriterion("choice_name not in", values, "choiceName");
            return (Criteria) this;
        }

        public Criteria andChoiceNameBetween(String value1, String value2) {
            addCriterion("choice_name between", value1, value2, "choiceName");
            return (Criteria) this;
        }

        public Criteria andChoiceNameNotBetween(String value1, String value2) {
            addCriterion("choice_name not between", value1, value2, "choiceName");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsAIsNull() {
            addCriterion("choice_ans_a is null");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsAIsNotNull() {
            addCriterion("choice_ans_a is not null");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsAEqualTo(String value) {
            addCriterion("choice_ans_a =", value, "choiceAnsA");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsANotEqualTo(String value) {
            addCriterion("choice_ans_a <>", value, "choiceAnsA");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsAGreaterThan(String value) {
            addCriterion("choice_ans_a >", value, "choiceAnsA");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsAGreaterThanOrEqualTo(String value) {
            addCriterion("choice_ans_a >=", value, "choiceAnsA");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsALessThan(String value) {
            addCriterion("choice_ans_a <", value, "choiceAnsA");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsALessThanOrEqualTo(String value) {
            addCriterion("choice_ans_a <=", value, "choiceAnsA");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsALike(String value) {
            addCriterion("choice_ans_a like", value, "choiceAnsA");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsANotLike(String value) {
            addCriterion("choice_ans_a not like", value, "choiceAnsA");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsAIn(List<String> values) {
            addCriterion("choice_ans_a in", values, "choiceAnsA");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsANotIn(List<String> values) {
            addCriterion("choice_ans_a not in", values, "choiceAnsA");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsABetween(String value1, String value2) {
            addCriterion("choice_ans_a between", value1, value2, "choiceAnsA");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsANotBetween(String value1, String value2) {
            addCriterion("choice_ans_a not between", value1, value2, "choiceAnsA");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsBIsNull() {
            addCriterion("choice_ans_b is null");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsBIsNotNull() {
            addCriterion("choice_ans_b is not null");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsBEqualTo(String value) {
            addCriterion("choice_ans_b =", value, "choiceAnsB");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsBNotEqualTo(String value) {
            addCriterion("choice_ans_b <>", value, "choiceAnsB");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsBGreaterThan(String value) {
            addCriterion("choice_ans_b >", value, "choiceAnsB");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsBGreaterThanOrEqualTo(String value) {
            addCriterion("choice_ans_b >=", value, "choiceAnsB");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsBLessThan(String value) {
            addCriterion("choice_ans_b <", value, "choiceAnsB");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsBLessThanOrEqualTo(String value) {
            addCriterion("choice_ans_b <=", value, "choiceAnsB");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsBLike(String value) {
            addCriterion("choice_ans_b like", value, "choiceAnsB");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsBNotLike(String value) {
            addCriterion("choice_ans_b not like", value, "choiceAnsB");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsBIn(List<String> values) {
            addCriterion("choice_ans_b in", values, "choiceAnsB");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsBNotIn(List<String> values) {
            addCriterion("choice_ans_b not in", values, "choiceAnsB");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsBBetween(String value1, String value2) {
            addCriterion("choice_ans_b between", value1, value2, "choiceAnsB");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsBNotBetween(String value1, String value2) {
            addCriterion("choice_ans_b not between", value1, value2, "choiceAnsB");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsCIsNull() {
            addCriterion("choice_ans_c is null");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsCIsNotNull() {
            addCriterion("choice_ans_c is not null");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsCEqualTo(String value) {
            addCriterion("choice_ans_c =", value, "choiceAnsC");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsCNotEqualTo(String value) {
            addCriterion("choice_ans_c <>", value, "choiceAnsC");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsCGreaterThan(String value) {
            addCriterion("choice_ans_c >", value, "choiceAnsC");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsCGreaterThanOrEqualTo(String value) {
            addCriterion("choice_ans_c >=", value, "choiceAnsC");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsCLessThan(String value) {
            addCriterion("choice_ans_c <", value, "choiceAnsC");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsCLessThanOrEqualTo(String value) {
            addCriterion("choice_ans_c <=", value, "choiceAnsC");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsCLike(String value) {
            addCriterion("choice_ans_c like", value, "choiceAnsC");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsCNotLike(String value) {
            addCriterion("choice_ans_c not like", value, "choiceAnsC");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsCIn(List<String> values) {
            addCriterion("choice_ans_c in", values, "choiceAnsC");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsCNotIn(List<String> values) {
            addCriterion("choice_ans_c not in", values, "choiceAnsC");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsCBetween(String value1, String value2) {
            addCriterion("choice_ans_c between", value1, value2, "choiceAnsC");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsCNotBetween(String value1, String value2) {
            addCriterion("choice_ans_c not between", value1, value2, "choiceAnsC");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsDIsNull() {
            addCriterion("choice_ans_d is null");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsDIsNotNull() {
            addCriterion("choice_ans_d is not null");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsDEqualTo(String value) {
            addCriterion("choice_ans_d =", value, "choiceAnsD");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsDNotEqualTo(String value) {
            addCriterion("choice_ans_d <>", value, "choiceAnsD");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsDGreaterThan(String value) {
            addCriterion("choice_ans_d >", value, "choiceAnsD");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsDGreaterThanOrEqualTo(String value) {
            addCriterion("choice_ans_d >=", value, "choiceAnsD");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsDLessThan(String value) {
            addCriterion("choice_ans_d <", value, "choiceAnsD");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsDLessThanOrEqualTo(String value) {
            addCriterion("choice_ans_d <=", value, "choiceAnsD");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsDLike(String value) {
            addCriterion("choice_ans_d like", value, "choiceAnsD");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsDNotLike(String value) {
            addCriterion("choice_ans_d not like", value, "choiceAnsD");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsDIn(List<String> values) {
            addCriterion("choice_ans_d in", values, "choiceAnsD");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsDNotIn(List<String> values) {
            addCriterion("choice_ans_d not in", values, "choiceAnsD");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsDBetween(String value1, String value2) {
            addCriterion("choice_ans_d between", value1, value2, "choiceAnsD");
            return (Criteria) this;
        }

        public Criteria andChoiceAnsDNotBetween(String value1, String value2) {
            addCriterion("choice_ans_d not between", value1, value2, "choiceAnsD");
            return (Criteria) this;
        }

        public Criteria andChoiceCorrectAnswerIsNull() {
            addCriterion("choice_correct_answer is null");
            return (Criteria) this;
        }

        public Criteria andChoiceCorrectAnswerIsNotNull() {
            addCriterion("choice_correct_answer is not null");
            return (Criteria) this;
        }

        public Criteria andChoiceCorrectAnswerEqualTo(String value) {
            addCriterion("choice_correct_answer =", value, "choiceCorrectAnswer");
            return (Criteria) this;
        }

        public Criteria andChoiceCorrectAnswerNotEqualTo(String value) {
            addCriterion("choice_correct_answer <>", value, "choiceCorrectAnswer");
            return (Criteria) this;
        }

        public Criteria andChoiceCorrectAnswerGreaterThan(String value) {
            addCriterion("choice_correct_answer >", value, "choiceCorrectAnswer");
            return (Criteria) this;
        }

        public Criteria andChoiceCorrectAnswerGreaterThanOrEqualTo(String value) {
            addCriterion("choice_correct_answer >=", value, "choiceCorrectAnswer");
            return (Criteria) this;
        }

        public Criteria andChoiceCorrectAnswerLessThan(String value) {
            addCriterion("choice_correct_answer <", value, "choiceCorrectAnswer");
            return (Criteria) this;
        }

        public Criteria andChoiceCorrectAnswerLessThanOrEqualTo(String value) {
            addCriterion("choice_correct_answer <=", value, "choiceCorrectAnswer");
            return (Criteria) this;
        }

        public Criteria andChoiceCorrectAnswerLike(String value) {
            addCriterion("choice_correct_answer like", value, "choiceCorrectAnswer");
            return (Criteria) this;
        }

        public Criteria andChoiceCorrectAnswerNotLike(String value) {
            addCriterion("choice_correct_answer not like", value, "choiceCorrectAnswer");
            return (Criteria) this;
        }

        public Criteria andChoiceCorrectAnswerIn(List<String> values) {
            addCriterion("choice_correct_answer in", values, "choiceCorrectAnswer");
            return (Criteria) this;
        }

        public Criteria andChoiceCorrectAnswerNotIn(List<String> values) {
            addCriterion("choice_correct_answer not in", values, "choiceCorrectAnswer");
            return (Criteria) this;
        }

        public Criteria andChoiceCorrectAnswerBetween(String value1, String value2) {
            addCriterion("choice_correct_answer between", value1, value2, "choiceCorrectAnswer");
            return (Criteria) this;
        }

        public Criteria andChoiceCorrectAnswerNotBetween(String value1, String value2) {
            addCriterion("choice_correct_answer not between", value1, value2, "choiceCorrectAnswer");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andOther1IsNull() {
            addCriterion("other1 is null");
            return (Criteria) this;
        }

        public Criteria andOther1IsNotNull() {
            addCriterion("other1 is not null");
            return (Criteria) this;
        }

        public Criteria andOther1EqualTo(String value) {
            addCriterion("other1 =", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotEqualTo(String value) {
            addCriterion("other1 <>", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1GreaterThan(String value) {
            addCriterion("other1 >", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1GreaterThanOrEqualTo(String value) {
            addCriterion("other1 >=", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1LessThan(String value) {
            addCriterion("other1 <", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1LessThanOrEqualTo(String value) {
            addCriterion("other1 <=", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1Like(String value) {
            addCriterion("other1 like", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotLike(String value) {
            addCriterion("other1 not like", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1In(List<String> values) {
            addCriterion("other1 in", values, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotIn(List<String> values) {
            addCriterion("other1 not in", values, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1Between(String value1, String value2) {
            addCriterion("other1 between", value1, value2, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotBetween(String value1, String value2) {
            addCriterion("other1 not between", value1, value2, "other1");
            return (Criteria) this;
        }

        public Criteria andOther2IsNull() {
            addCriterion("other2 is null");
            return (Criteria) this;
        }

        public Criteria andOther2IsNotNull() {
            addCriterion("other2 is not null");
            return (Criteria) this;
        }

        public Criteria andOther2EqualTo(String value) {
            addCriterion("other2 =", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotEqualTo(String value) {
            addCriterion("other2 <>", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2GreaterThan(String value) {
            addCriterion("other2 >", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2GreaterThanOrEqualTo(String value) {
            addCriterion("other2 >=", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2LessThan(String value) {
            addCriterion("other2 <", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2LessThanOrEqualTo(String value) {
            addCriterion("other2 <=", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2Like(String value) {
            addCriterion("other2 like", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotLike(String value) {
            addCriterion("other2 not like", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2In(List<String> values) {
            addCriterion("other2 in", values, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotIn(List<String> values) {
            addCriterion("other2 not in", values, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2Between(String value1, String value2) {
            addCriterion("other2 between", value1, value2, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotBetween(String value1, String value2) {
            addCriterion("other2 not between", value1, value2, "other2");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}